Skip to content

feat(contract): implement oracle enum forward compatibility#479

Merged
greatest0fallt1me merged 1 commit intoPredictify-org:masterfrom
gelluisaac:feat
Mar 26, 2026
Merged

feat(contract): implement oracle enum forward compatibility#479
greatest0fallt1me merged 1 commit intoPredictify-org:masterfrom
gelluisaac:feat

Conversation

@gelluisaac
Copy link
Copy Markdown
Contributor

  • Replace OracleProvider enum with forward-compatible struct-based approach
  • Enable addition of new oracle providers without breaking existing markets
  • Add comprehensive validation and graceful degradation for unknown providers
  • Include extensive test suite for serialization compatibility
  • Update documentation with forward compatibility guide
  • Maintain backward compatibility for existing stored markets

Resolves #457

- Replace OracleProvider enum with forward-compatible struct-based approach
- Enable addition of new oracle providers without breaking existing markets
- Add comprehensive validation and graceful degradation for unknown providers
- Include extensive test suite for serialization compatibility
- Update documentation with forward compatibility guide
- Maintain backward compatibility for existing stored markets

Resolves Predictify-org#457
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 26, 2026

@gelluisaac Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@greatest0fallt1me greatest0fallt1me merged commit 97d24e2 into Predictify-org:master Mar 26, 2026
1 check failed
@gelluisaac gelluisaac deleted the feat branch March 26, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Oracle enum forward compatibility

2 participants